package org.example.mybooksystem.adapter;

/**
 * Created with IntelliJ IDEA.
 * Description:做渐进主义的改良派,不做完没注意的速成派
 * User: XALEXC
 * Date: 2025-03-18
 * Time: 15:32
 */
public class Slf4jLog4jAdapter implements Slf4jApi{

    private Log4j log4j;
    public Slf4jLog4jAdapter(Log4j log4j) {
        this.log4j = log4j;
    }

    @Override
    public void log(String message) {
        log4j.log(message);
    }
}
